ShopEngine\Utils\Helper B

Total Complexity 80
Dependencies 3
Dependents 19
Total lines 539
Lines of code 427
Logical lines of code 148
Comment lines 17
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
_product_tag_sale_badge()
A
49 11 28
get_kses_array()
S
35 1 118
_product_image()
S
49 5 34
_product_category()
S
55 6 16
_discount_percentage()
S
60 6 11
_product_sale_end_date()
S
55 4 18
add_to_url()
S
64 4 8
img_meta()
S
58 3 14
order_checkout_fields()
S
59 3 14
get_checkout_input_fields()
S
61 3 11
_product_rating()
S
60 2 15
_product_buttons()
S
68 3 7
is_elementor_editor_mode()
S
71 2 6
kses()
S
69 2 7
render()
S
68 2 7
esc_options()
S
71 2 6
get_total_sale_count()
S
64 2 9
generate_products_meta()
S
60 1 13
is_elementor_active()
S
80 1 3
is_gutenberg_active()
S
79 1 3
get_elementor_css_uri()
S
68 1 6
make_classname()
S
68 1 7
kspan()
S
77 1 3
category_list_by_taxonomy()
S
64 1 10
trim_words()
S
78 1 3
array_push_assoc()
S
76 1 4
render_elementor_content()
S
75 1 4
_product_title()
S
67 1 8
_product_price()
S
73 1 7
_product_description()
S
66 1 9
is_guest_checkout_allowed()
S
79 1 3
is_login_allowed_during_checkout()
S
79 1 3
get_products_meta_keys()
S
80 1 3
get_template_type()
S
78 1 3
get_template_builder_type()
S
78 1 3
get_admin_list_template_url()
S
78 1 3